package com.wanxi.util;

public class Tool {
    public static Integer strToInt(String value) {
        try {
            return Integer.valueOf(value);

        } catch (Exception e) {
            return 0;
        }
    }
}
